package com.biz.primus.commodity.vo.frontend;

import com.biz.primus.base.enums.PromotionChannelEnum;
import com.biz.primus.base.global.GlobalValue;
import com.biz.primus.base.global.Ref;
import com.biz.primus.base.vo.IPromotionReqVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品详情请求Vo
 *
 * @author david-liu
 * @date 2017年02月05日
 * @reviewer
 */
@Data
@ApiModel("详情请求vo")
public class ProductDetailRequestVo implements Serializable,IPromotionReqVo {
    private static final long serialVersionUID = -6090912565913699081L;

    @ApiModelProperty("用户Id")
    @Ref(GlobalValue.memberId)
    private Long memberId;

    @ApiModelProperty("商品编码")
    private String productCode;

    @ApiModelProperty("商品Id")
    private Long productId;

    @ApiModelProperty("门店Id")
    @Ref(GlobalValue.depotId)
    private Long shopId;

    @ApiModelProperty("门店编码")
    @Ref(GlobalValue.depotCode)
    private String depotCode;

    @ApiModelProperty("定位经度")
    @Ref(GlobalValue.lat)
    private BigDecimal latitude;

    @ApiModelProperty("定位纬度")
    @Ref(GlobalValue.lon)
    private BigDecimal longitude;

    @ApiModelProperty("不用传递 门店经度")
    private BigDecimal depotLat;

    @ApiModelProperty("不用传递 门店纬度")
    private BigDecimal depotLon;

    @ApiModelProperty("促销活动渠道")
    private PromotionChannelEnum appChannel;

    @ApiModelProperty("城市Id")
    @Ref(GlobalValue.cityId)
    private Long cityId;

    @ApiModelProperty("不传递 区域Id")
    private Long zoneId;

    @ApiModelProperty("省Id")
    @Ref(GlobalValue.provinceId)
    private Long provinceId;




    @Override
    public Boolean getUserFirstOrder() {
        return Boolean.FALSE;
    }

}
